package edu.ecnu.yt.spring.aop.annotation;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareParents;

@Aspect
public class EncoreableIntroducer {
	
	// 将所有performance的子类挂载Encoreable接口的功能。使得其可以被强制类型转换为Encoreable
	@DeclareParents(value="edu.ecnu.yt.spring.aop.annotation.Performance+",
			defaultImpl=DefaultEncoreable.class)
	public static Encoreable encoreable;
	
}
